<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>parser::release</title>
<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.JSON">
<link rel="up" href="../boost__json__parser.html" title="parser">
<link rel="prev" href="write/overload4.html" title="parser::write (4 of 4 overloads)">
<link rel="next" href="../boost__json__pilfered.html" title="pilfered">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="write/overload4.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../boost__json__parser.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../boost__json__pilfered.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="json.ref.boost__json__parser.release"></a><a class="link" href="release.html" title="parser::release">parser::release</a>
</h5></div></div></div>
<p>
          <a class="indexterm" name="idm45725636784672"></a>
        </p>
<p>
          Return the parsed JSON as a <a class="link" href="../boost__json__value.html" title="value"><code class="computeroutput"><span class="identifier">value</span></code></a>.
        </p>
<h6>
<a name="json.ref.boost__json__parser.release.h0"></a>
          <span class="phrase"><a name="json.ref.boost__json__parser.release.synopsis"></a></span><a class="link" href="release.html#json.ref.boost__json__parser.release.synopsis">Synopsis</a>
        </h6>
<pre class="programlisting"><span class="identifier">value</span>
<span class="identifier">release</span><span class="special">();</span>
</pre>
<h6>
<a name="json.ref.boost__json__parser.release.h1"></a>
          <span class="phrase"><a name="json.ref.boost__json__parser.release.description"></a></span><a class="link" href="release.html#json.ref.boost__json__parser.release.description">Description</a>
        </h6>
<p>
          This returns the parsed value, or throws an exception if the parsing is
          incomplete or failed. It is necessary to call <a class="link" href="reset.html" title="parser::reset"><code class="computeroutput"><span class="identifier">reset</span></code></a> after calling this function
          in order to parse another JSON.
        </p>
<h6>
<a name="json.ref.boost__json__parser.release.h2"></a>
          <span class="phrase"><a name="json.ref.boost__json__parser.release.complexity"></a></span><a class="link" href="release.html#json.ref.boost__json__parser.release.complexity">Complexity</a>
        </h6>
<p>
          Constant.
        </p>
<h6>
<a name="json.ref.boost__json__parser.release.h3"></a>
          <span class="phrase"><a name="json.ref.boost__json__parser.release.return_value"></a></span><a class="link" href="release.html#json.ref.boost__json__parser.release.return_value">Return
          Value</a>
        </h6>
<p>
          The parsed value. Ownership of this value is transferred to the caller.
        </p>
<h6>
<a name="json.ref.boost__json__parser.release.h4"></a>
          <span class="phrase"><a name="json.ref.boost__json__parser.release.exceptions"></a></span><a class="link" href="release.html#json.ref.boost__json__parser.release.exceptions">Exceptions</a>
        </h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
                  <p>
                    Type
                  </p>
                </th>
<th>
                  <p>
                    Thrown On
                  </p>
                </th>
</tr></thead>
<tbody><tr>
<td>
                  <p>
                    <code class="computeroutput"><span class="identifier">system_error</span></code>
                  </p>
                </td>
<td>
                  <p>
                    Thrown on failure.
                  </p>
                </td>
</tr></tbody>
</table></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2019, 2020 Vinnie Falco<br>Copyright © 2020 Krystian Stasiowski<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
      </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="write/overload4.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../boost__json__parser.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../boost__json__pilfered.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
